以这种方式封装后,开发人员的工作就变成从工具箱上拖一个组件或控件放到窗体上,经由过程诸如属性浏览器(Property Browser)这样的设计期特征来配置它,然后让Windows Forms设计器帮我们将这些配置转换为代码,这些代码会出此刻InitializeComponent方法中。
基于294个网页-相关网页
When a type converter is available for a property, it can be displayed in the property browser in the designer.
当属性可以使用类型转换器时,它显示在设计器的属性浏览器中。
The property provides visual indication in the property browser if it has been modified from its default value.
该属性在修改了其默认值的情况下,在属性浏览器中提供可视化表示。
If you define custom properties and want the property browser to display them, you must implement custom type converters.
如果您定义自定义属性并想让属性浏览器显示它们,则必须实现自定义类型转换器。
应用推荐